package com.dhcc.bpm.modules.system.service;

import com.dhcc.bpm.modules.system.entity.TopMenu;
import org.springblade.core.mp.base.BaseService;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @ClassName ITopMenuService
 * @Description 顶部菜单表 服务类
 * @Author sjm
 * @Date 2020/2/21 0021 15:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 **/
public interface ITopMenuService extends BaseService<TopMenu> {

	/**
	 * @Description 顶部菜单配置
	 * @Author sjm
	 * @Date 10:22 2020/2/22 0022
	 * @param topMenuIds
	 * @param menuIds
	 * @return boolean
	 **/
	boolean grant(@NotEmpty List<Long> topMenuIds, @NotEmpty List<Long> menuIds);

}
